package com.example.zhaojianxu.signin.englishgame.http

import retrofit2.Call
import retrofit2.http.POST
import retrofit2.http.Query

/**
 * create by @zhaojianxu on 2019/2/26
 */
interface EnglishGameApi{

    @POST("/CommonServer/englishGameStart")
    fun postQueryStart(): Call<MutableList<EGStartEntity>>

    @POST("/CommonServer/englishGameRecord")
    fun postQueryRecord(): Call<MutableList<EGRecordEntity>>

    @POST("/CommonServer/englishGameRecordInsert")
    fun postUploadCode(@Query("uid") uid: Int, @Query("code") code: Int, @Query("time") time: String): Call<String>
}